intersection of two linked lists leetcode solution